/*  1:   */ package org.jetbrains.jps.model.serialization.module;
/*  2:   */ 
/*  3:   */

import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.JpsDummyElement;
import org.jetbrains.jps.model.JpsElementFactory;
import org.jetbrains.jps.model.module.JpsModuleSourceRootType;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */ 
/*  9:   */ public class JpsModuleSourceRootDummyPropertiesSerializer
/* 10:   */   extends JpsModuleSourceRootPropertiesSerializer<JpsDummyElement>
/* 11:   */ {
/* 12:   */   public JpsModuleSourceRootDummyPropertiesSerializer(JpsModuleSourceRootType<JpsDummyElement> paramJpsModuleSourceRootType, String paramString)
/* 13:   */   {
/* 14:29 */     super(paramJpsModuleSourceRootType, paramString);
/* 15:   */   }
/* 16:   */   
/* 17:   */   public JpsDummyElement loadProperties(@NotNull Element paramElement)
/* 18:   */   {
/* 19:34 */     if (paramElement == null) {
/* 20:34 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/serialization/module/JpsModuleSourceRootDummyPropertiesSerializer", "loadProperties" }));
/* 21:   */     }
/* 22:34 */     return JpsElementFactory.getInstance().createDummyElement();
/* 23:   */   }
/* 24:   */   
/* 25:   */   public void saveProperties(@NotNull JpsDummyElement paramJpsDummyElement, @NotNull Element paramElement)
/* 26:   */   {
/* 27:39 */     if (paramJpsDummyElement == null) {
/* 28:39 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/serialization/module/JpsModuleSourceRootDummyPropertiesSerializer", "saveProperties" }));
/* 29:   */     }
/* 30:39 */     if (paramElement == null) {
/* 31:39 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "1", "org/jetbrains/jps/model/serialization/module/JpsModuleSourceRootDummyPropertiesSerializer", "saveProperties" }));
/* 32:   */     }
/* 33:   */   }
/* 34:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.serialization.module.JpsModuleSourceRootDummyPropertiesSerializer

 * JD-Core Version:    0.7.0.1

 */